package datastructre;

public class MyArrayList<E> {

    Object[] obj = new Object[10];
    int size;

    public boolean add(E e) {
        obj[size]=e;
        return true;
    }

    public E get(int index) {
        return (E)obj[index];
    }



}
